using AiQiuQuan.Sport.Model.Enums;

namespace AiQiuQuan.Sport.WebApi.Entities
{
    /// <summary>
    /// 约球用户
    /// </summary>
    public class BallUser : BaseEntity
    {
        /// <summary>
        /// 约球ID
        /// </summary>
        public Guid BallId { get; set; }

        /// <summary>
        /// 业务ID
        /// </summary>
        public Guid BusinessId { get; set; }

        /// <summary>
        /// 用户1
        /// </summary>
        public Guid UserId { get; set; }

        /// <summary>
        /// 订单ID
        /// </summary>
        public Guid GameOrderId { get; set; }

        /// <summary>
        /// 报名状态：1报名中、2已报名、5已拒绝、9已取消
        /// </summary>
        public GameJoinStateEnum JoinState { get; set; }

        /// <summary>
        /// 支付状态
        /// </summary>
        public PayOrderStateEnum PayState { get; set; }

        /// <summary>
        /// 报名日期
        /// </summary>
        public DateTimeOffset JoinDate { get; set; }

        /// <summary>
        /// 添加人
        /// </summary>
        public Guid JoinUserId { get; set; }
    }
}
